include $(TOPDIR)/rules.mk
PKG_NAME:=vim
-PKG_VERSION:=9.1
-PKG_XXD_VERSION:=2023.10.25
-PKG_RELEASE:=2
+PKG_VERSION:=9.1.1918
+PKG_XXD_VERSION:=2025.08.24
+PKG_RELEASE:=1
VIMVER:=91
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=https://www.vim.org/downloads
-PKG_HASH:=9c2d1d6763a672f6c5210a2bc4bad5a58e4eb8e8e3f293d950d9647811647ec7
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/vim/vim.git
+PKG_SOURCE_VERSION=v$(PKG_VERSION)
+PKG_MIRROR_HASH:=51c2d2492d884c879c61b1451f4690f221b2dbccacfe3ddf8abde4d6fcc5e2bf
PKG_LICENSE:=Vim
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:vim:vim
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(VIMVER)
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
CONFLICTS:=vim
endef
-
define Package/vim-fuller
$(call Package/vim/Default)
TITLE+= (Big)
(Normal build)
endef
-
define Package/vim-fuller/description
Vim is an almost compatible version of the UNIX editor Vi.
(Big build)
endef
endif
-
-
ifneq ($(CONFIG_PACKAGE_xxd),)
define Build/Compile/xxd
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(INSTALL_CONF) ./files/vimrc.full $(1)/usr/share/vim/vimrc
endef
-
define Package/vim-fuller/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/vim_big $(1)/usr/bin/vim
$(INSTALL_CONF) ./files/vimrc.full $(1)/usr/share/vim/vimrc
endef
-
-
define Package/vim-runtime/install
$(CP) $(PKG_INSTALL_DIR)/* $(1)
rm -rf $(1)/usr/share/vim/vim$(VIMVER)/doc
+++ /dev/null
---- a/runtime/doc/Makefile
-+++ b/runtime/doc/Makefile
-@@ -24,7 +24,6 @@ all: tags vim.man evim.man vimdiff.man v
- # Use Vim to generate the tags file. Can only be used when Vim has been
- # compiled and installed. Supports multiple languages.
- vimtags: $(DOCS)
-- @$(VIMEXE) --clean -esX -V1 -u doctags.vim
-
- # Use "doctags" to generate the tags file. Only works for English!
- tags: doctags $(DOCS)
--- a/src/po/Makefile
+++ b/src/po/Makefile
-@@ -36,7 +36,7 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_
- -c "if error == 0 | q | else | num 2 | cq | endif" $<
- touch $@
+@@ -30,7 +30,7 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_
+ .PHONY: all install uninstall prefixcheck originals converted check clean \
+ checkclean distclean update-po $(LANGUAGES)
-all: $(MOFILES) $(MOCONVERTED) $(MSGFMT_DESKTOP)
+all: $(MOFILES) $(MOCONVERTED)
- check: $(CHECKFILES)
+ originals: $(MOFILES)
--- /dev/null
+--- a/runtime/doc/Makefile
++++ b/runtime/doc/Makefile
+@@ -24,7 +24,6 @@ all: tags vim.man evim.man vimdiff.man v
+ # Use Vim to generate the tags file. Can only be used when Vim has been
+ # compiled. Supports multiple languages.
+ vimtags: $(DOCS)
+- @$(VIMPROG) --clean -esX -V1 -u doctags.vim
+
+ # Use "doctags" to generate the tags file. Only works for English!
+ tags: doctags $(DOCS)